|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.analysis.ParetoFrontier
public class ParetoFrontier
Class which stores the Pareto-frontier. This class can be used to easily add bids to the Pareto-frontier when calculating it.
| Constructor Summary | |
|---|---|
ParetoFrontier()
Create an empty list to store the Pareto-frontier. |
|
| Method Summary | |
|---|---|
java.util.List<BidPoint> |
getFrontier()
Returns the Pareto-optimal frontier. |
boolean |
isBelowFrontier(BidPoint bid)
Returns true if the given BidPoint is not part of the Pareto-frontier. |
void |
mergeIntoFrontier(BidPoint bidpoint)
Determines if a bid should be added to the Pareto-frontier. |
void |
sort()
Order the bids based on the utility for agent A. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParetoFrontier()
| Method Detail |
|---|
public void mergeIntoFrontier(BidPoint bidpoint)
bidpoint - bid to be added to the Pareto-frontier.public boolean isBelowFrontier(BidPoint bid)
bid - to be checked if it is Pareto-optimal.
public void sort()
public java.util.List<BidPoint> getFrontier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||